package com.wzy.pojo;


import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Data
//@ConfigurationProperties("wzy")
//@Component
public class Student2 {
    @Value("${wzy.username}")
    private String username;
    @Value("${wzy.age}")
    private String age;
}
